how to prepare profit and loss account